QT += core widgets

TARGET = YUVToolChina

win32{
    DESTDIR  = $${PWD}/build/windows
    LIBS += -L$${PWD}/lib -lavcodec -lavdevice -lswscale -lavfilter -lavformat -lavutil -lpostproc \
        -lswresample
}

unix{
    DESTDIR  = $${PWD}/build/linux
}

macx{
    DESTDIR  = $${PWD}/build/mac
}

INCLUDEPATH += \
    include \
    gui \
    common \
    data \
    main

HEADERS += \
    gui/yuvmainwindow.h \
    gui/yuvwidget.h \
    gui/yuvdialog.h \
    gui/yuvvideolistwidget.h \
    gui/yuvvideoplaywidget.h \
    gui/yuvcenterwidget.h \
    common/define.h \
    common/fileutils.h \
    gui/yuvaboutdialog.h \
    common/yuvmsgnotifysington.h \
    gui/yuvstatusbar.h \
    gui/yuvmessagebox.h \
    data/yuvoperater.h \
    gui/yuvdispalywidget.h

SOURCES += \
    gui/yuvmainwindow.cpp \
    main/main.cpp \
    gui/yuvwidget.cpp \
    gui/yuvdialog.cpp \
    gui/yuvvideolistwidget.cpp \
    gui/yuvvideoplaywidget.cpp \
    gui/yuvcenterwidget.cpp \
    common/fileutils.cpp \
    gui/yuvaboutdialog.cpp \
    common/yuvmsgnotifysington.cpp \
    gui/yuvstatusbar.cpp \
    gui/yuvmessagebox.cpp \
    data/yuvoperater.cpp \
    gui/yuvdispalywidget.cpp


TRANSLATIONS += \
        YUVToolChina_en_US.ts \
        YUVToolChina_zh_CN.ts

RESOURCES += \
    yuvresource.qrc
